@echo off

if "%1"=="" (
	SET TARGET=all
) else (
	SET TARGET=%1
)

if "%TARGET%"=="all" (
	SET MK_DATA=1
	SET MK_STRINGS=1
	SET MK_PACK=1
)

if "%TARGET%"=="data" (
	SET MK_DATA=1
)

if "%TARGET%"=="str" (
	SET MK_STRINGS=1
)

if "%TARGET%"=="pack" (
	SET MK_PACK=1
)



if "%MK_PACK%"=="1" (
	cd pak
	call make.bat
	cd ..
)